import Footer from '@/components/modules/Footer'
import A from '@/components/modules/TicketView'

const Home = () => import(/* webpackChunkName: "homepage" */ '@/views/Home')

export default [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'home',
    components: {
      home: Home,
      footer: Footer
    },
    children: [
      {
        path: ':id',
        name: 'city',
        component: A
      }
    ]
  },
  {
    path: '/:id',
    name: 'test',
    component: A,
    props: true
  }
]
